<?php 


  $AwardConfs = array(     
     //欢乐勋章
	 array('EName'=>'HappyLeMedal','Prob'=>100,'ProbSpecial'=>120,'Num'=>1,'Color'=>'#fff000','Special'=>'a','Talk'=>1,'IsSend'=>true),
	 //惊喜勋章
	 array('EName'=>'SurpriseMedal','Prob'=>70,'ProbSpecial'=>100,'Num'=>1,'Color'=>'#fff000','Special'=>'a','Talk'=>1,'IsSend'=>true),
	 //轻松勋章
	 array('EName'=>'EasilyMedal','Prob'=>50,'ProbSpecial'=>100,'Num'=>1,'Color'=>'#fff000','Special'=>'a','Talk'=>1,'IsSend'=>true),
	 //福特野马GT车型卡
	  array('EName'=>'SpecialCarCard_65','Prob'=>70,'ProbSpecial'=>100,'Num'=>1,'Color'=>'#fff000','Special'=>'a','Talk'=>1,'IsSend'=>true),
	  //宝马Z4变色龙版车型卡
     array('EName'=>'SpecialCarCard_66','Prob'=>50,'ProbSpecial'=>100,'Num'=>1,'Color'=>'#00ff00','Special'=>'a','Talk'=>1,'IsSend'=>true),
	  //员工启蒙卡
	 array('EName'=>'EmployeeEnlightenmentCard','Prob'=>1000,'ProbSpecial'=>1200,'Num'=>1,'Color'=>'#fff000','Talk'=>1,'IsSend'=>true),
	 //高级聚能精华
	 array('EName'=>'HighLevelEssence','Prob'=>1200,'ProbSpecial'=>1500,'Num'=>1,'Color'=>'#fff000','IsSend'=>true),
	 //护航配件晶石1
     array('EName'=>'SubCarSpar','Prob'=>2000,'ProbSpecial'=>2500,'Num'=>1,'Color'=>'#fff000','Talk'=>0,'IsSend'=>true),
	 //护航配件晶石10
     array('EName'=>'SubCarSpar','Prob'=>200,'ProbSpecial'=>500,'Num'=>10,'Color'=>'#fff000','Talk'=>0,'IsSend'=>true),
	 //特级升星石*1
     array('EName'=>'SuperUpStarStone','Prob'=>500,'ProbSpecial'=>500,'Num'=>1,'Color'=>'#fff000','Talk'=>1,'Special'=>'b','IsSend'=>true),
     //卓越配件晶石1
     array('EName'=>'ExcellentSpar','Prob'=>3000,'ProbSpecial'=>3000,'Num'=>1,'Color'=>'#00ff00','Special'=>'b','Talk'=>0,'IsSend'=>true),
	  //护航稀有芯片 装备
     array('EName'=>'RareChip','Prob'=>200,'ProbSpecial'=>300,'Num'=>1,'OutfitId'=>1099,'Color'=>'#fff000','Type'=>'Outfit','Talk'=>1,'IsSend'=>true),
	 //材料集装箱*10	 
     array('EName'=>'remat_randombox','Prob'=>2500,'ProbSpecial'=>2500,'Num'=>10,'Color'=>'#fff000','Talk'=>0,'IsSend'=>true),
	  //护航配件精华1
     array('EName'=>'SubCarFittingsDigest','Prob'=>1500,'ProbSpecial'=>1500,'Num'=>1,'Color'=>'#fff000','IsSend'=>true),
     //钻石合约
     array('EName'=>'DiamondAgeements','Prob'=>2500,'ProbSpecial'=>2500,'Num'=>1,'Color'=>'#00ff00','Talk'=>0),
    //店铺点券礼盒
     array('EName'=>'ShopPointBox','Prob'=>1200,'ProbSpecial'=>1500,'Num'=>1,'Color'=>'#00ff00','Talk'=>0) ,
     //护航合约2
     array('EName'=>'ConvoyAgreements','Prob'=>4500,'ProbSpecial'=>5000,'Num'=>2,'Color'=>'#00ff00','Talk'=>0),
      //黄金合约2
     array('EName'=>'GoldAgeements','Prob'=>4500,'ProbSpecial'=>5000,'Num'=>2,'Color'=>'#00ff00','Talk'=>0),    
      //高级炼狱卷轴
     array('EName'=>'APurgatoryScroll','Prob'=>2000,'ProbSpecial'=>2000,'Num'=>1,'Color'=>'#00ff00','Talk'=>1),
	 //黄金入场券
     array('EName'=>'GoldAccessTickets','Prob'=>2000,'ProbSpecial'=>3000,'Num'=>1,'Color'=>'#00ff00','Talk'=>1,'Special'=>'b'),
	  //忠诚员工卡（橙色）
     array('EName'=>'EmployeeLoyaltyLV5Card','Prob'=>600,'ProbSpecial'=>800,'Num'=>1,'Color'=>'#00ff00','Talk'=>0,'IsSend'=>true),
	  //员工启迪卡
     array('EName'=>'PainerCard','Prob'=>300,'ProbSpecial'=>400,'Num'=>1,'Color'=>'#fff000','Talk'=>1,'IsSend'=>true),
	  //箱装建材50
     array('EName'=>'remat_building','Prob'=>4000,'ProbSpecial'=>4000,'Num'=>50,'Color'=>'#00ff00','Talk'=>0,'IsSend'=>true),
	  //普通超能强化材料卡
     array('EName'=>'GeneralSuperEnhancedCard','Prob'=>3000,'ProbSpecial'=>3500,'Num'=>1,'Color'=>'#00ff00','Talk'=>0,'IsSend'=>true),
	  //高级超能强化材料卡
     array('EName'=>'AdvancedSuperEnhancedCard','Prob'=>2500,'ProbSpecial'=>3000,'Num'=>1,'Color'=>'#00ff00','Talk'=>0,'IsSend'=>true),
	  //稀有超能强化材料卡
     array('EName'=>'RareSuperEnhancedCard','Prob'=>1500,'ProbSpecial'=>2000,'Num'=>1,'Color'=>'#00ff00','Talk'=>1,'IsSend'=>true),
	//资质提升卡2
     array('EName'=>'QualificationTicket','Prob'=>1800,'ProbSpecial'=>2000,'Num'=>2,'Color'=>'#00ff00','Talk'=>0,'Special'=>'b'), 
     //车手成长符
     array('EName'=>'GrowthCard','Prob'=>1800,'ProbSpecial'=>2000,'Num'=>1,'Color'=>'#00ff00','Talk'=>0), 
     //高级天赋强化卡
     array('EName'=>'HeightTalentCard','Prob'=>1200,'ProbSpecial'=>1500,'Num'=>1,'Color'=>'#fff000','Talk'=>1,'IsSend'=>true),      
     //Gb
     array('EName'=>'Assets','Prob'=>54160,'ProbSpecial'=>47780,'Num'=>100000,'Color'=>'#00ff00','Type'=>'Assets','Talk'=>0),
	
  );
  
$EveryTask = array(
	'Task'=>array(
		1=>array('EName'=>'SubCarSpar','Type'=>'Tool','Num'=>1),
		2=>array('EName'=>'HighLevelEssence','Type'=>'Tool','Num'=>1),
		3=>array('EName'=>'ExcellentSpar','Type'=>'Tool','Num'=>1),
		4=>array('EName'=>'SubCarFittingsDigest','Type'=>'Tool','Num'=>1),
		5=>array('EName'=>'HeightTalentCard','Type'=>'Tool','Num'=>1),
		6=>array('EName'=>'GrowthCard','Type'=>'Tool','Num'=>1),
		7=>array('EName'=>'AdvancedSuperEnhancedCard','Type'=>'Tool','Num'=>1),
	),
	'Awards'=>array(
		1=>array(//店铺点券礼盒*2、初级天赋强化卡*2、钻石合约*5		
			array('EName'=>'ShopPointBox','Type'=>'Tool','Num'=>2),
			array('EName'=>'TalentCard','Type'=>'Tool','Num'=>2),			
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>5),
		),
		2=>array(//中级探险券*1、资质提升卡*5、车手成长符*5		
			array('EName'=>'MiddleAdventureTicket','Type'=>'Tool','Num'=>1),
			array('EName'=>'QualificationTicket','Type'=>'Tool','Num'=>5),
			array('EName'=>'GrowthCard','Type'=>'Tool','Num'=>5),
		),
		3=>array(//车手成长符*3、黄金合约*3、初级探险券*2		
			array('EName'=>'GrowthCard','Type'=>'Tool','Num'=>3),
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>3),
			array('EName'=>'SmallAdventureTicket','Type'=>'Tool','Num'=>2),
		),
		4=>array(//店铺点券礼盒*3、黄金合约*5、资质提升卡*5
			array('EName'=>'ShopPointBox','Type'=>'Tool','Num'=>3),
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>5),
			array('EName'=>'QualificationTicket','Type'=>'Tool','Num'=>5),
		),
		5=>array(//中级探险券*1、招募协议*5、资质提升卡*5
			array('EName'=>'MiddleAdventureTicket','Type'=>'Tool','Num'=>1),
			array('EName'=>'DriverRecruitContract','Type'=>'Tool','Num'=>5),
			array('EName'=>'QualificationTicket','Type'=>'Tool','Num'=>5),			
		),
		6=>array(//店铺点券礼盒*2、黄金合约*5、资质提升卡*2
			array('EName'=>'ShopPointBox','Type'=>'Tool','Num'=>2),
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>5),
			array('EName'=>'QualificationTicket','Type'=>'Tool','Num'=>2),
		),
		7=>array(//启蒙晶石*2，资质提升卡*5、钻石合约*2		
			array('EName'=>'QualitySpar','Type'=>'Tool','Num'=>2),
			array('EName'=>'QualificationTicket','Type'=>'Tool','Num'=>5),
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>2),
		),		
	),
);

$ExtraTask = array(
	1=>array(
		1=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>10),	
		),
		2=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>7),
		),
		3=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>3),	
		),
	),
	2=>array(
		1=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>10),	
		),
		2=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>7),
		),
		3=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>5),	
		),
	),
	3=>array(
		1=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>10),
		),	
		2=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>7),
		),
		3=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>3),
		),	
	),
	4=>array(
		1=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>8),	
		),	
		2=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>5),
		),	
		3=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>3),
		),	
	),
	5=>array(
		1=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>10),	
		),	
		2=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>7),
		),	
		3=>array(
			array('EName'=>'DiamondAgeements','Type'=>'Tool','Num'=>5),
		),	
	),
	6=>array(
		1=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>10),	
		),	
		2=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>7),
		),	
		3=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>3),
		),	
	),
	7=>array(
		1=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>10),
		),	
		2=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>7),
		),
		3=>array(
			array('EName'=>'GoldAgeements','Type'=>'Tool','Num'=>3),	
		),
	),	
);
$total = 0;
foreach($AwardConfs as $v){
	$total +=$v['ProbSpecial'];
}

echo $total;




?>

